package com.example.express.base;

import android.app.Application;
import android.content.Context;
import org.litepal.LitePal;

/**
 * Create by Snooker on 2020/8/20
 * Describe:
 */
public class BaseApplication extends Application {

    private static Context context;


    @Override
    public void onCreate() {
        super.onCreate();
        LitePal.initialize(this);
        context = getApplicationContext();

    }

    public static Context getAppContext() {
        return context;
    }
}
